﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Universe.Cache
{
    class Utils
    {
        public static bool Equals(byte[] x, byte[] y)
        {
            if (x != null && y != null && x.Length == y.Length)
            {
                for(int i=0, l=x.Length; i<l; i++)
                    if (x[i] != y[i])
                        return false;

                return true;
            }

            else
            {
                return false;
            }

        }
    }
}
